package com.shangxian.giveithome.entity.report.outputParams;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.shangxian.giveithome.entity.community.IssueImg;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 * 黑名单结果列表结果返回
 */
@Data
public class ResultBlackList {

    @ApiModelProperty("黑名单记录id")
    private Long id;

    @ApiModelProperty("举报类型")
    private String type;

    @ApiModelProperty("举报内容")
    private String reportContent;

    @ApiModelProperty("被举报手机号")
    private Long phone;

    @ApiModelProperty("举报图片")
    private List<IssueImg> imgs;

    @ApiModelProperty("举报附加内容")
    private String otherContent;

    @ApiModelProperty("图片组id")
    @JsonIgnore
    private Long imgId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("举报时间")
    private Date reportTime;

    @ApiModelProperty("记录状态 0 待审核 1 封禁 2正常")
    private Long state;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("微信号")
    private String wechat;
}
